<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>demo</title>
    <link rel="stylesheet" href="./css/index.css">
    <script src="./js/login.js"></script>
</head>
<body>
    <div class="container">
        <div class="content">
            <div class="login_box">
                <p class="login_title">欢迎登陆</p>
                <div class="input_item">
                    <div class="item_lable">用户名</div>
                    <div class="item_content">
                        <input id="username" type="text" placeholder="请输入用户名">
                        <span id="username_valid" class="input_valid">用户名合法</span>
                        <span id="username_invalid" class="input_invalid">用户名不合法</span>
                    </div>
                </div>

                <div class="input_item">
                    <div class="item_lable">密码</div>
                    <div class="item_content"><input id="password" type="password" placeholder="请输入密码"></div>
                </div>

                <div class="input_item">
                    <input type="button" onclick="check()" value="提交">
                    <input type="button" value="重置">
                </div>
            </div>
        </div>
    </div>
</body>
</html>